//
//  UIImage+Extension.h
//  ProjectDemo
//
//  Created by IOS3 on 2018/10/25.
//  Copyright © 2018 IOS3. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (Extension)

/// 根据颜色获取一张图片 size(1, 1)
+ (UIImage *)imageWithColor:(UIColor *)color;


/// 根据UIColor, CGSize获取一张图片
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;

@end

NS_ASSUME_NONNULL_END
